<script>
	CKEDITOR.replace( 'content' );
	CKEDITOR.replace( 'summary' );
</script>

<form id="form1" method="post" style="margin:10px">
	<div id="ftitle" class="ftitle">Add/Edit Data Pengumuman</div>
	<input type="hidden" name="content_id" id="content_id" value="<?=$content_id?>">
	<div class="fitem" >
		<label style="width:120px">Kategori </label>:
		<select id="category_id" name="category_id" style="width:200px;">
			<?=$this->mdl_prosedur->OptionCategory(array('value'=>'1'));?>
		</select>
	</div>
	<div class="fitem" >
		<label style="width:120px">Judul </label>:
		<input name="content_title" size="100" value="<?=$content_title?>">
	</div>
	<div class="fitem" >
		<label style="width:120px">Isi Pengumuman </label>:
		<center><div style="width:81%;  margin:10px 0"><textarea name="content" cols="70" class="easyui-validatebox" style="resize:none" id="content"></textarea></div></center>
	</div>
	<div class="fitem" >
		<label style="width:120px">Ringkas Pengumuman </label>:
		<center><div style="width:81%;  margin:10px 0"><textarea name="summary" cols="70" class="easyui-validatebox" style="resize:none" id="summary"></textarea></div></center>
	</div>
	<div class="fitem" >
		<label style="width:120px">Tautan/Tag </label>:
		<input name="url" size="30" value="<?=$url?>">
	</div>
	<div class="fitem" >
		<label style="width:120px">Tanggal Posting</label>:
			<input class="easyui-datebox" name="date_post" size="13" value="<?=$date_post?>" id="date_post" data-options="formatter:DateFormatter, parser:DateParser">
		<label>
	</div>
	<div class="fitem" >
		<label style="width:120px">Publikasikan </label>:
		<select id="published" name="published">
			<option value="">- Pilih -</option>
			<option value="1" <?= $published == 'Ya'?'selected ="selected"':''; ?>>Ya</option>
			<option value="0" <?= $published == 'Tidak'?'selected ="selected"':''; ?>>Tidak</option>
			</select></li>
	</div>
</form>
	

